mIRC Stats | Version 4.61 · mIRC 6.15 |
/stats [ config | been | have | seen | icons | color | help ] Use this command to open the script's dialogs. Example: /stats config Don't specify any parameter to open the main stats dialog. /statsweb [ port ] Put your webpage online at the specified port (default is 80). Make sure the port is open. Example: /statsweb 8080 /statswebend This puts your webpage offline again. /secho [ chan | query ] < servers | power | time | uptime | events | texts | been | have | seen | cpu | os | cache | hdd | gfx | con | eth | misc | custom > With this command you can message the desired data to a channel/query or yourself depending on the options selected on the echo tab in the main or configuration dialog. If you are offline, the command will automatically echo, instead of trying to message nothing. If you don't specify a channel or query, the active window will be message'd. Example: /secho custom /secho #channel time This would echo the custom line you specified to the active window. /resetstats < all | events | been | have | seen > This is what you'll use when you want to reset all, or some, of your kept stats. Example: /resetstats all Warning: Once reset your stats can never be recovered again. If you wish to save your stats, make a backup of them. |
$sinfo can return all of mIRC Stats' statistics. The only thing it cannot return is the servers data, but that can be handled through mIRC identifiers itself anyway. The main target for this identifier was to use it on the webpages, but now the entire script relies on it. You can also use it to create your own scripts with this, you could create pop-ups to show stats individually for instance or maybe a whole new mIRC Stats GUI.. whatever you want. Syntax: $sinfo(flag,item,[N])[.prop] The first parameter, the flag, tells the identifier which kind of information you want to retrieve, for example p which will return webpage information. The reason this needs to be given is because of the various different ways the data is read, the way the data is grouped in the hash table, and to prevent collisions. You can only specify one at a time. The flag can be:
The third parameter can be used for two things:
All items:
Lastly, you have a few properties which you can use. They are used for the counters only, just like the third parameter. There's two kinds, the first kind simply returns an absolute value per the specified ammount of time:
Examples: //echo -a $sinfo(p,version) - returns mIRC Stats' version //echo -a $sinfo(e,date) - returns the last reset date for the basic event counters //echo -a $sinfo(e,cwords,0) - returns the total number of custom words //echo -a $sinfo(e,cwords,2) - returns the second custom word //echo -a $sinfo(y,cpu) - returns your cpu type //echo -a $sinfo(m,MMX) - returns wether your system has MMX support or not ($true or $false) //echo -a $sinfo(e,lines,3).day - returns the number of lines you type per day, rounded at 3 decimals //echo -a $sinfo(e,oped).year - returns the number of times you've been oped per year //echo -a $sinfo(s,nick).pweek - returns the percentage of how many times you've changed your nick per week //echo -a $sinfo(e,chars).p - returns the percentage of the typed characters of the total ammount of event counters |